package cn.feilue.app.service.commone;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**

 * 接收收件人数据
 */
@Data
public class RecipientParam {
    @NotNull(message = "添加类型不能为空")
    private Integer sendOpt;
    private SendOptEnum sendOptEnum;
    @NotBlank(message = "邮箱或号码不能为空")
    private String personnel;
    @NotBlank(message = "名字不能为空")
    private String name;
    @NotNull(message = "添加或删除 1-添加，2-删除")
    private Integer isAdd;
}
